package com.muyu.danmo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

import com.muyu.common.core.domain.BaseEntity;
import com.muyu.danmo.domain.enums.Positions;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 会员职位关联表
 * </p>
 *
 * @author 作者
 * @since 2025-04-11
 */
@Getter
@Setter
@TableName("danmo_person_position")
public class DanmoPersonPosition extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 会员信息id
     */
    @TableField("person_id")
    private Long personId;

    /**
     * 职位id	4
     */
    @TableField("position_id")
    private Long positionId;

    /**
     * 协会选择  1
     */
    @TableField("association_id")
    private Long associationId;

    /**
     * 艺术家类型  2
     */
    @TableField("association_type_id")
    private Long associationTypeId;

    /**
     * 证书
     */
    @TableField("certificate_image_id")
    private String certificateImageId;

    /**
     * 证书编号
     */
    @TableField("certificate_number")
    private String certificateNumber;

    /**
     * 第几届
     */
    @TableField("several")
    private Long several;

    /**
     * 年份
     */
    @TableField("year")
    private String year;

    /**
     * 职位（1 会员 2 理事 ）
     */
    @TableField("positions")
    private Positions positions;

    /**
     * 小团体  3
     */
    @TableField("mass_id")
    private Long massId;

    /**
     * 入会省
     */
    @TableField("address_entry")
    private String addressEntry;

    /**
     * 入会市
     */
    @TableField("address_city")
    private String addressCity;

    /**
     * 入会县
     */
    @TableField("address_county")
    private String addressCounty;
}
